package org.javabb.bbcode;

import java.util.*;
import java.util.regex.Pattern;
import java.util.regex.Matcher;

/**
 * @author: <a href="mailto:erka.mercy@gmail.com">erka</a>
 */
public class QuoteTag extends AbstractNestedTag {

    public String processTag(String inputText) {
       return processNestedTags(inputText,
                "quote",
                "<table width='90%' cellspacing='1' cellpadding='1' border='0' " + "align='center'><tr><td><span class='genmed'><b>{BBCODE_PARAM} escreveu:</b></span></td></tr></table><table width='90%' cellspacing='1' cellpadding='1' border='0' align='center'><tr><td class='quote' bgcolor='#F3F5FF'>",
                " &nbsp;</td></tr></table>",
                "<table width='90%' cellspacing='1' cellpadding='3' border='0' " + "align='center'><tr><td><span class='genmed'><b>Citao:</b></span></td></tr><tr><td class='quote'>",
                " &nbsp;</td></tr></table>",
                "[*]",
                false,
                true,
                true);
    }

}
